import { Injectable } from '@nestjs/common';
import * as QRCode from 'qrcode';


@Injectable()
export class TemplateApiQrService {
    constructor() { }

    async code(data: string) {
        return QRCode.toDataURL(data);
    };

};
